<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import autofit from "autofit.js";
export default {
  mounted() {
    autofit.init(
      {
        designWidth: 1920,
        designHeight: 1080,
        renderDom: "#app",
        delay: 0.3,
        resize: true,
      },
      false
    );
  },
};
</script>
<style lang="scss">
#app {
  width: 100vw;
  height: 100vh;
  background: url("./assets/imgs/layout/bg.png") no-repeat;
  background-size: 100% 100%;
  font-family: PingFangSC-Semibold, PingFang SC, Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
